package com.coder;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

@SpringBootApplication
@MapperScan("com.coder.rental.mapper")
public class AppServer {
    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(AppServer.class, args);
/*        BCryptPasswordEncoder passwordEncoder = context.getBean(BCryptPasswordEncoder.class);
        System.out.println(passwordEncoder.encode("123456"));*/
    }
}
